<html xmlns="http://www.w3.org/1999/xhtml"><head><title>DocBlox Documentation</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta><link rel="stylesheet" href="css/jquery-ui.css" type="text/css"></link><link rel="stylesheet" href="css/docblox/jquery-ui-1.8.16.custom.css" type="text/css"></link><link rel="stylesheet" href="css/jquery.treeview.css" type="text/css"></link><link rel="stylesheet" href="css/theme.css" type="text/css"></link><script type="text/javascript" src="js/jquery-1.4.2.min.js"></script><script type="text/javascript" src="js/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="js/jquery.cookie.js"></script><script type="text/javascript" src="js/jquery.treeview.js"></script><script type="text/javascript">
            $(document).ready(function() {
                $(".filetree").treeview({
                    collapsed: true,
                    persist: "cookie"
                });

                $("#accordion").accordion({
                    collapsible: true,
                    autoHeight:  false,
                    fillSpace:   true
                });

                $(".tabs").tabs();
            });
        </script></head><body><div xmlns="" id="content">
<script xmlns:dbx="http://docblox-project.org/xsl/functions">

      function filterElements()
      {
        inherited = !$('#show-inherited').hasClass('deselected');
        public    = !$('#show-public').hasClass('deselected');
        protected = !$('#show-protected').hasClass('deselected');
        private   = !$('#show-private').hasClass('deselected');

        $('div.public').each(function(index, val) {
            $(val).toggle(public && !($(val).hasClass('inherited_from') && !inherited));
        });
        $('div.protected').each(function(index, val) {
            $(val).toggle(protected && !($(val).hasClass('inherited_from') && !inherited));
        });
        $('div.private').each(function(index, val) {
            $(val).toggle(private && !($(val).hasClass('inherited_from') && !inherited));
        });
      }

      $(document).ready(function() {
        $('a.gripper').click(function() {
            $(this).nextAll('div.code-tabs').slideToggle();
            $(this).children('img').toggle();
            return false;
        });

        $('div.method code span.highlight,div.function code span.highlight,div.constant code span.highlight,div.property code span.highlight').css('cursor', 'pointer');

        $('div.method code span.highlight,div.function code span.highlight,div.constant code span.highlight,div.property code span.highlight').click(function() {
            $(this).parent().nextAll('div.code-tabs').slideToggle();
            $(this).parent().prevAll('a.gripper').children('img').toggle();
            return false;
        });

        $('div.code-tabs').hide();
        $('a.gripper').show();
        $('div.code-tabs:empty').prevAll('a.gripper').html('');

        $('#show-public, #show-protected, #show-private, #show-inherited')
            .css('cursor', 'pointer')
            .click(function(){
                $(this).toggleClass('deselected');
                if ($(this).hasClass('deselected')) {
                  $(this).fadeTo('fast', '0.4');
                } else {
                  $(this).fadeTo('fast', '1.0');
                }
                filterElements();
                return false;
            });
        $('#show-protected, #show-private').click();

        // add the sliding behaviour to the file navigation and show it
        // it is initially hidden for non-JS users.
        $("#file-nav-box").show().hover(function() {
            $("#file-nav-container").slideDown(400);
        }, function() {
            $("#file-nav-container").slideUp(400);
        });
      });

      
    </script><h1 xmlns:dbx="http://docblox-project.org/xsl/functions" class="file">\src\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane.inc</h1>
<div xmlns:dbx="http://docblox-project.org/xsl/functions" id="file-nav-box">
<div id="file-nav-options">
              Show:
              <img src="images/icons/visibility_public.png" id="show-public"><img src="images/icons/visibility_protected.png" id="show-protected"><img src="images/icons/visibility_private.png" id="show-private"><span class="attribute" id="show-inherited">inherited</span>
</div>
<div id="file-nav-container">
<ul id="file-nav"><li>
<a href="#classes"><img src="images/icons/class.png" height="14">
                          Classes
                      </a><ul><li><a href="#%5CUtils%5CGraphics2D%5CDrawingPanes%5CHtmlDrawingPane">\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane</a></li></ul>
</li></ul>
<div style="clear: left;"></div>
</div>
<div id="file-nav-tab">
              Table of Contents
          </div>
</div>
<a xmlns:dbx="http://docblox-project.org/xsl/functions" name="top" class="anchor"></a><a name="classes" class="anchor"></a><a xmlns:dbx="http://docblox-project.org/xsl/functions" id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane" class="anchor"></a><h2 xmlns:dbx="http://docblox-project.org/xsl/functions" class="class">\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane<div class="to-top"><a href="#top">jump to top</a></div>
</h2>
<div xmlns:dbx="http://docblox-project.org/xsl/functions" class="class">
<small class="package"><b>Package: </b>Default</small><p class="short-description">This class implements a drawing pane for HTML output.</p>
<div class="long-description">
</div>
<dl class="class-info">
<dt>Parent(s)</dt>
<dd>
<a href="db_src_Utils_Graphics2D_DrawingPanes_DomDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDomDrawingPane">\Utils\Graphics2D\DrawingPanes\DomDrawingPane</a>
            &lt;
            <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane" style="color: gray; font-size: 0.8em
                ">\Utils\Graphics2D\DrawingPanes\DrawingPane</a>
</dd>
</dl>
<h3>Properties</h3>
<div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::$classNameEdge" class="anchor"></a><div class="property protected inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/property.png" alt="Property"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected">string
                 <span class="highlight">$classNameEdge</span>= ''rt_edge''
                </code><div class="description">
<span class="attribute">inherited</span><p class="short-description">the name of the CSS class for the edge shapes.</p><small>Inherited from:
                        <a href="db_src_Utils_Graphics2D_DrawingPanes_DomDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDomDrawingPane::%24classNameEdge">\Utils\Graphics2D\DrawingPanes\DomDrawingPane::$classNameEdge</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Default value</strong><code>'rt_edge'</code><strong>Details</strong><dl class="property-info">
<dt>Type</dt>
<dd>string</dd>
<dt>Inherited_from</dt>
<dd>
<a href="db_src_Utils_Graphics2D_DrawingPanes_DomDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDomDrawingPane::%24classNameEdge">\Utils\Graphics2D\DrawingPanes\DomDrawingPane::$classNameEdge</a>
         
    </dd>
</dl>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::$classNameNode" class="anchor"></a><div class="property protected inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/property.png" alt="Property"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected">string
                 <span class="highlight">$classNameNode</span>= ''rt_node''
                </code><div class="description">
<span class="attribute">inherited</span><p class="short-description">the name of the CSS class for the node shapes.</p><small>Inherited from:
                        <a href="db_src_Utils_Graphics2D_DrawingPanes_DomDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDomDrawingPane::%24classNameNode">\Utils\Graphics2D\DrawingPanes\DomDrawingPane::$classNameNode</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Default value</strong><code>'rt_node'</code><strong>Details</strong><dl class="property-info">
<dt>Type</dt>
<dd>string</dd>
<dt>Inherited_from</dt>
<dd>
<a href="db_src_Utils_Graphics2D_DrawingPanes_DomDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDomDrawingPane::%24classNameNode">\Utils\Graphics2D\DrawingPanes\DomDrawingPane::$classNameNode</a>
         
    </dd>
</dl>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::$consolidateStyles" class="anchor"></a><div class="property protected">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/property.png" alt="Property"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected">boolean
                 <span class="highlight">$consolidateStyles</span>= 'TRUE'
                </code><div class="description">
<p class="short-description">the flag to determine, whether or not CSS style information should be consolidated for output or not</p></div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Default value</strong><code>TRUE</code><strong>Details</strong><dl class="property-info">
<dt>Type</dt>
<dd>boolean</dd>
</dl>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::$dimension" class="anchor"></a><div class="property protected inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/property.png" alt="Property"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected">\Utils\Geom\Dimension
                 <span class="highlight">$dimension</span>= '0'
                </code><div class="description">
<span class="attribute">inherited</span><p class="short-description">the dimension of the document</p><small>Inherited from:
                        <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::%24dimension">\Utils\Graphics2D\DrawingPanes\DrawingPane::$dimension</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Default value</strong><code>0</code><strong>Details</strong><dl class="property-info">
<dt>Type</dt>
<dd><a href="db_src_Utils_Geom_Dimension.html#%5CUtils%5CGeom%5CDimension">\Utils\Geom\Dimension</a></dd>
<dt>Inherited_from</dt>
<dd>
<a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::%24dimension">\Utils\Graphics2D\DrawingPanes\DrawingPane::$dimension</a>
         
    </dd>
</dl>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::$document" class="anchor"></a><div class="property public inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/property.png" alt="Property"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public">mixed
                 <span class="highlight">$document</span>= 'null'
                </code><div class="description">
<span class="attribute">inherited</span><p class="short-description">the wrapped document</p><small>Inherited from:
                        <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::%24document">\Utils\Graphics2D\DrawingPanes\DrawingPane::$document</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info">
<dt>Type</dt>
<dd>mixed</dd>
<dt>Inherited_from</dt>
<dd>
<a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::%24document">\Utils\Graphics2D\DrawingPanes\DrawingPane::$document</a>
         
    </dd>
</dl>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::$fillColor" class="anchor"></a><div class="property protected inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/property.png" alt="Property"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected">\Utils\Color\Color
                 <span class="highlight">$fillColor</span>= 'null'
                </code><div class="description">
<span class="attribute">inherited</span><p class="short-description">the current fill color of the drawing pane</p><small>Inherited from:
                        <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::%24fillColor">\Utils\Graphics2D\DrawingPanes\DrawingPane::$fillColor</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info">
<dt>Type</dt>
<dd><a href="db_src_Utils_Color_Color.html#%5CUtils%5CColor%5CColor">\Utils\Color\Color</a></dd>
<dt>Inherited_from</dt>
<dd>
<a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::%24fillColor">\Utils\Graphics2D\DrawingPanes\DrawingPane::$fillColor</a>
         
    </dd>
</dl>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::$fontColor" class="anchor"></a><div class="property protected inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/property.png" alt="Property"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected">\Utils\Color\Color
                 <span class="highlight">$fontColor</span>= 'null'
                </code><div class="description">
<span class="attribute">inherited</span><p class="short-description">the current font color of the drawing pane</p><small>Inherited from:
                        <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::%24fontColor">\Utils\Graphics2D\DrawingPanes\DrawingPane::$fontColor</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info">
<dt>Type</dt>
<dd><a href="db_src_Utils_Color_Color.html#%5CUtils%5CColor%5CColor">\Utils\Color\Color</a></dd>
<dt>Inherited_from</dt>
<dd>
<a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::%24fontColor">\Utils\Graphics2D\DrawingPanes\DrawingPane::$fontColor</a>
         
    </dd>
</dl>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::$fontFamily" class="anchor"></a><div class="property protected inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/property.png" alt="Property"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected">string
                 <span class="highlight">$fontFamily</span>= 'null'
                </code><div class="description">
<span class="attribute">inherited</span><p class="short-description">the current font family of the drawing pane</p><small>Inherited from:
                        <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::%24fontFamily">\Utils\Graphics2D\DrawingPanes\DrawingPane::$fontFamily</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info">
<dt>Type</dt>
<dd>string</dd>
<dt>Inherited_from</dt>
<dd>
<a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::%24fontFamily">\Utils\Graphics2D\DrawingPanes\DrawingPane::$fontFamily</a>
         
    </dd>
</dl>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::$fontSize" class="anchor"></a><div class="property protected inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/property.png" alt="Property"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected">int
                 <span class="highlight">$fontSize</span>= 'null'
                </code><div class="description">
<span class="attribute">inherited</span><p class="short-description">the current font size in pixels of the drawing pane</p><small>Inherited from:
                        <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::%24fontSize">\Utils\Graphics2D\DrawingPanes\DrawingPane::$fontSize</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info">
<dt>Type</dt>
<dd>int</dd>
<dt>Inherited_from</dt>
<dd>
<a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::%24fontSize">\Utils\Graphics2D\DrawingPanes\DrawingPane::$fontSize</a>
         
    </dd>
</dl>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::$fragment" class="anchor"></a><div class="property protected inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/property.png" alt="Property"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected">\Utils\Graphics2D\DrawingPanes\DOMDocumentFragment
                 <span class="highlight">$fragment</span>= 'null'
                </code><div class="description">
<span class="attribute">inherited</span><p class="short-description">the DOM document fragment that holds the source code of the export</p><small>Inherited from:
                        <a href="db_src_Utils_Graphics2D_DrawingPanes_DomDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDomDrawingPane::%24fragment">\Utils\Graphics2D\DrawingPanes\DomDrawingPane::$fragment</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info">
<dt>Type</dt>
<dd>\Utils\Graphics2D\DrawingPanes\DOMDocumentFragment</dd>
<dt>Inherited_from</dt>
<dd>
<a href="db_src_Utils_Graphics2D_DrawingPanes_DomDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDomDrawingPane::%24fragment">\Utils\Graphics2D\DrawingPanes\DomDrawingPane::$fragment</a>
         
    </dd>
</dl>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::$strokeColor" class="anchor"></a><div class="property protected inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/property.png" alt="Property"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected">\Utils\Color\Color
                 <span class="highlight">$strokeColor</span>= 'null'
                </code><div class="description">
<span class="attribute">inherited</span><p class="short-description">the current stroke color of the drawing pane</p><small>Inherited from:
                        <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::%24strokeColor">\Utils\Graphics2D\DrawingPanes\DrawingPane::$strokeColor</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info">
<dt>Type</dt>
<dd><a href="db_src_Utils_Color_Color.html#%5CUtils%5CColor%5CColor">\Utils\Color\Color</a></dd>
<dt>Inherited_from</dt>
<dd>
<a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::%24strokeColor">\Utils\Graphics2D\DrawingPanes\DrawingPane::$strokeColor</a>
         
    </dd>
</dl>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::$strokeWidth" class="anchor"></a><div class="property protected inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/property.png" alt="Property"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected">int
                 <span class="highlight">$strokeWidth</span>= '1'
                </code><div class="description">
<span class="attribute">inherited</span><p class="short-description">the currect stroke width of the drawing pane</p><small>Inherited from:
                        <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::%24strokeWidth">\Utils\Graphics2D\DrawingPanes\DrawingPane::$strokeWidth</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Default value</strong><code>1</code><strong>Details</strong><dl class="property-info">
<dt>Type</dt>
<dd>int</dd>
<dt>Inherited_from</dt>
<dd>
<a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::%24strokeWidth">\Utils\Graphics2D\DrawingPanes\DrawingPane::$strokeWidth</a>
         
    </dd>
</dl>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::$styleClasses" class="anchor"></a><div class="property protected">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/property.png" alt="Property"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected">\Utils\Graphics2D\DrawingPanes\stdClass[string]
                 <span class="highlight">$styleClasses</span>= 'array()'
                </code><div class="description">
<p class="short-description">the collection of used CSS styles</p></div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Default value</strong><code>array()</code><strong>Details</strong><dl class="property-info">
<dt>Type</dt>
<dd>\Utils\Graphics2D\DrawingPanes\stdClass[string]</dd>
</dl>
</div>
<div class="clear"></div>
</div>
</div>
<h3>Methods</h3>
<div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::__construct()" class="anchor"></a><div class="method public">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">__construct</span><span class="nb-faded-text">(
          <a href="db_src_Utils_Geom_Dimension.html#%5CUtils%5CGeom%5CDimension">\Utils\Geom\Dimension</a> $dimension
          )
        </span>
        :
          void</code><div class="description"><p class="short_description">This method acts as the constructor of the class.</p></div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$dimension</th>
<td><a href="db_src_Utils_Geom_Dimension.html#%5CUtils%5CGeom%5CDimension">\Utils\Geom\Dimension</a></td>
<td><em><p>the dimension of the document</p></em></td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::addStyleClass()" class="anchor"></a><div class="method private">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_private.png" style="margin-right: 5px" alt="private"><span class="highlight">addStyleClass</span><span class="nb-faded-text">(
          string $style
          )
        </span>
        :
          string</code><div class="description"><p class="short_description">This method adds a style definition to the set of known styles</p></div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$style</th>
<td>string</td>
<td><em><p>the style information as string</p></em></td>
</tr>
</table>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td>string</td>
<td>the generic name of the CSS class made from the given style definition</td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::appendFragment()" class="anchor"></a><div class="method protected inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"><span class="highlight">appendFragment</span><span class="nb-faded-text">(
          <a href="http://php.net/manual/en/class.domnode.php">\DOMNode</a> $parentElement
          )
        </span>
        :
          void</code><div class="description">
<span class="attribute">inherited</span><p class="short_description">This method appends the fragment to the given parent element.</p>
<small>Inherited from:
                    <a href="db_src_Utils_Graphics2D_DrawingPanes_DomDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDomDrawingPane::appendFragment()">\Utils\Graphics2D\DrawingPanes\DomDrawingPane::appendFragment()</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$parentElement</th>
<td><a href="http://php.net/manual/en/class.domnode.php">\DOMNode</a></td>
<td><em><p>the root element to append the internal document fragment to</p></em></td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::clearDocument()" class="anchor"></a><div class="method protected inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"><span class="highlight">clearDocument</span><span class="nb-faded-text">(
          
          )
        </span>
        :
          void</code><div class="description">
<span class="attribute">inherited</span><p class="short_description">This method assures that the document is empty before saving it. Otherwise, multiple calls to violate the DOMDocument structure (e.g. multiple <svg elements>). Creating a new document does not work, as the fragement depends on the first created document.</p>
<small>Inherited from:
                    <a href="db_src_Utils_Graphics2D_DrawingPanes_DomDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDomDrawingPane::clearDocument()">\Utils\Graphics2D\DrawingPanes\DomDrawingPane::clearDocument()</a></small>
</div>
<div class="code-tabs"><div class="long-description">
</div></div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::drawEllipse()" class="anchor"></a><div class="method public">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">drawEllipse</span><span class="nb-faded-text">(
          <a href="db_src_Utils_Geom_Point.html#%5CUtils%5CGeom%5CPoint">\Utils\Geom\Point</a> $center, <a href="db_src_Utils_Geom_Dimension.html#%5CUtils%5CGeom%5CDimension">\Utils\Geom\Dimension</a> $dimension
          )
        </span>
        :
          <a href="db_src_Utils_Graphics2D_DrawingPanes_IDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CIDrawingPane">\Utils\Graphics2D\DrawingPanes\IDrawingPane</a></code><div class="description"><p class="short_description">This method draws an ellipse on the document.</p></div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$center</th>
<td><a href="db_src_Utils_Geom_Point.html#%5CUtils%5CGeom%5CPoint">\Utils\Geom\Point</a></td>
<td><em><p>the center of the ellipse</p></em></td>
</tr>
<tr>
<th>$dimension</th>
<td><a href="db_src_Utils_Geom_Dimension.html#%5CUtils%5CGeom%5CDimension">\Utils\Geom\Dimension</a></td>
<td><em><p>the dimension of the ellipse</p></em></td>
</tr>
</table>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td><a href="db_src_Utils_Graphics2D_DrawingPanes_IDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CIDrawingPane">\Utils\Graphics2D\DrawingPanes\IDrawingPane</a></td>
<td>$this</td>
</tr>
</table>
<strong>Details</strong><dl class="function-info">
<dt>InheritDoc</dt>
<dd>Currently, this method is unsupported for HTMLDocument - a <code>BadMethodCallException</code> is thrown when it is called.
         
    </dd>
</dl>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::drawLine()" class="anchor"></a><div class="method public">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">drawLine</span><span class="nb-faded-text">(
          <a href="db_src_Utils_Geom_Point.html#%5CUtils%5CGeom%5CPoint">\Utils\Geom\Point</a> $source, <a href="db_src_Utils_Geom_Point.html#%5CUtils%5CGeom%5CPoint">\Utils\Geom\Point</a> $target
          )
        </span>
        :
          <a href="db_src_Utils_Graphics2D_DrawingPanes_IDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CIDrawingPane">\Utils\Graphics2D\DrawingPanes\IDrawingPane</a></code><div class="description"><p class="short_description">This method draws a line on the document.</p></div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$source</th>
<td><a href="db_src_Utils_Geom_Point.html#%5CUtils%5CGeom%5CPoint">\Utils\Geom\Point</a></td>
<td><em><p>the source point of the line</p></em></td>
</tr>
<tr>
<th>$target</th>
<td><a href="db_src_Utils_Geom_Point.html#%5CUtils%5CGeom%5CPoint">\Utils\Geom\Point</a></td>
<td><em><p>the target point of the line</p></em></td>
</tr>
</table>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td><a href="db_src_Utils_Graphics2D_DrawingPanes_IDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CIDrawingPane">\Utils\Graphics2D\DrawingPanes\IDrawingPane</a></td>
<td>$this</td>
</tr>
</table>
<strong>Details</strong><dl class="function-info">
<dt>InheritDoc</dt>
<dd>In plain HTML, only horizonal or vertical lines are supported, otherwise a \InvalidArgumentException is thrown.
         
    </dd>
</dl>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::drawPolyLine()" class="anchor"></a><div class="method public inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">drawPolyLine</span><span class="nb-faded-text">(
          \Traversable $points
          )
        </span>
        :
          <a href="db_src_Utils_Graphics2D_DrawingPanes_IDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CIDrawingPane">\Utils\Graphics2D\DrawingPanes\IDrawingPane</a></code><div class="description">
<span class="attribute">inherited</span><p class="short_description">This method draws a poly line onto the the document.</p>
<small>Inherited from:
                    <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::drawPolyLine()">\Utils\Graphics2D\DrawingPanes\DrawingPane::drawPolyLine()</a></small>
</div>
<div class="code-tabs">
<div class="long-description"><p>It expects an traversable of points, where each point is represented by a object of the class Point.</p>
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$points</th>
<td>\Traversable</td>
<td><em><p>the coordinates of the points of the line</p></em></td>
</tr>
</table>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td><a href="db_src_Utils_Graphics2D_DrawingPanes_IDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CIDrawingPane">\Utils\Graphics2D\DrawingPanes\IDrawingPane</a></td>
<td>$this</td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::drawPolygon()" class="anchor"></a><div class="method public">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">drawPolygon</span><span class="nb-faded-text">(
          \Traversable $points
          )
        </span>
        :
          <a href="db_src_Utils_Graphics2D_DrawingPanes_IDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CIDrawingPane">\Utils\Graphics2D\DrawingPanes\IDrawingPane</a></code><div class="description"><p class="short_description">This method draws a polygon on the document.</p></div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$points</th>
<td>\Traversable</td>
<td><em><p>the points defining the polygon</p></em></td>
</tr>
</table>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td><a href="db_src_Utils_Graphics2D_DrawingPanes_IDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CIDrawingPane">\Utils\Graphics2D\DrawingPanes\IDrawingPane</a></td>
<td>$this</td>
</tr>
</table>
<strong>Details</strong><dl class="function-info">
<dt>InheritDoc</dt>
<dd>Currently, this method is unsupported for HTMLDocument - a <code>BadMethodCallException</code> is thrown when it is called.
         
    </dd>
</dl>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::drawRectangle()" class="anchor"></a><div class="method public">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">drawRectangle</span><span class="nb-faded-text">(
          <a href="db_src_Utils_Geom_Point.html#%5CUtils%5CGeom%5CPoint">\Utils\Geom\Point</a> $topLeftCorner, <a href="db_src_Utils_Geom_Dimension.html#%5CUtils%5CGeom%5CDimension">\Utils\Geom\Dimension</a> $dimension
          )
        </span>
        :
          <a href="db_src_Utils_Graphics2D_DrawingPanes_IDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CIDrawingPane">\Utils\Graphics2D\DrawingPanes\IDrawingPane</a></code><div class="description"><p class="short_description">This method draws a rectangle on the document.</p></div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$topLeftCorner</th>
<td><a href="db_src_Utils_Geom_Point.html#%5CUtils%5CGeom%5CPoint">\Utils\Geom\Point</a></td>
<td><em><p>the top left corner of the rectangle</p></em></td>
</tr>
<tr>
<th>$dimension</th>
<td><a href="db_src_Utils_Geom_Dimension.html#%5CUtils%5CGeom%5CDimension">\Utils\Geom\Dimension</a></td>
<td><em><p>the dimension of the rectangle</p></em></td>
</tr>
</table>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td><a href="db_src_Utils_Graphics2D_DrawingPanes_IDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CIDrawingPane">\Utils\Graphics2D\DrawingPanes\IDrawingPane</a></td>
<td>$this</td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::drawText()" class="anchor"></a><div class="method public">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">drawText</span><span class="nb-faded-text">(
          <a href="db_src_Utils_Geom_Point.html#%5CUtils%5CGeom%5CPoint">\Utils\Geom\Point</a> $topLeftCorner, \Utils\Graphics2D\DrawingPanes\type $text
          )
        </span>
        :
          <a href="db_src_Utils_Graphics2D_DrawingPanes_IDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CIDrawingPane">\Utils\Graphics2D\DrawingPanes\IDrawingPane</a></code><div class="description"><p class="short_description">This method draws text at the given position.</p></div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$topLeftCorner</th>
<td><a href="db_src_Utils_Geom_Point.html#%5CUtils%5CGeom%5CPoint">\Utils\Geom\Point</a></td>
<td><em><p>the top left corner of the text to draw</p></em></td>
</tr>
<tr>
<th>$text</th>
<td>\Utils\Graphics2D\DrawingPanes\type</td>
<td><em><p>the text to draw</p></em></td>
</tr>
</table>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td><a href="db_src_Utils_Graphics2D_DrawingPanes_IDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CIDrawingPane">\Utils\Graphics2D\DrawingPanes\IDrawingPane</a></td>
<td>$this</td>
</tr>
</table>
<strong>Details</strong><dl class="function-info">
<dt>InheritDoc</dt>
<dd>With font sizes bigger than 20 pixels, the HTML text is not correctly positioned, when compared the e.g. SVG or GDLib - reason not known, might be HTML rendering, but same for Firefox 4.0 and Internet Explorer 9
         
    </dd>
</dl>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::getBorderColor()" class="anchor"></a><div class="method private">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_private.png" style="margin-right: 5px" alt="private"><span class="highlight">getBorderColor</span><span class="nb-faded-text">(
          
          )
        </span>
        :
          string</code><div class="description"><p class="short_description">This method is a short hand for getting the border color as DOM color string.</p></div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td>string</td>
<td>the border color as DOM color string</td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::getBorderWidth()" class="anchor"></a><div class="method private">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_private.png" style="margin-right: 5px" alt="private"><span class="highlight">getBorderWidth</span><span class="nb-faded-text">(
          
          )
        </span>
        :
          int</code><div class="description"><p class="short_description">This method is a short hand for getting the border width.</p></div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td>int</td>
<td>the border width</td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::getClassNameEdge()" class="anchor"></a><div class="method public inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">getClassNameEdge</span><span class="nb-faded-text">(
          
          )
        </span>
        :
          string</code><div class="description">
<span class="attribute">inherited</span><p class="short_description">This method acts as getter for the CSS class name of the edge shapes.</p>
<small>Inherited from:
                    <a href="db_src_Utils_Graphics2D_DrawingPanes_DomDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDomDrawingPane::getClassNameEdge()">\Utils\Graphics2D\DrawingPanes\DomDrawingPane::getClassNameEdge()</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td>string</td>
<td></td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::getClassNameNode()" class="anchor"></a><div class="method public inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">getClassNameNode</span><span class="nb-faded-text">(
          
          )
        </span>
        :
          string</code><div class="description">
<span class="attribute">inherited</span><p class="short_description">This method acts as getter for the CSS class name of the node shapes.</p>
<small>Inherited from:
                    <a href="db_src_Utils_Graphics2D_DrawingPanes_DomDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDomDrawingPane::getClassNameNode()">\Utils\Graphics2D\DrawingPanes\DomDrawingPane::getClassNameNode()</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td>string</td>
<td></td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::getCssCode()" class="anchor"></a><div class="method private">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_private.png" style="margin-right: 5px" alt="private"><span class="highlight">getCssCode</span><span class="nb-faded-text">(
          
          )
        </span>
        :
          \Utils\Graphics2D\DrawingPanes\type</code><div class="description"><p class="short_description">This method returns the CSS code for the current document as string.</p></div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td>\Utils\Graphics2D\DrawingPanes\type</td>
<td>string the CSS code for the current document</td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::getFillColor()" class="anchor"></a><div class="method private">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_private.png" style="margin-right: 5px" alt="private"><span class="highlight">getFillColor</span><span class="nb-faded-text">(
          
          )
        </span>
        :
          string</code><div class="description"><p class="short_description">This method is a short hand for getting the fill color as DOM color string.</p></div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td>string</td>
<td>the fill color as DOM color string</td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::save()" class="anchor"></a><div class="method public">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">save</span><span class="nb-faded-text">(
          
          )
        </span>
        :
          string</code><div class="description"><p class="short_description">This method saves this DrawingPane to a string.</p></div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td>string</td>
<td></td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::setClassNameEdge()" class="anchor"></a><div class="method public inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">setClassNameEdge</span><span class="nb-faded-text">(
          string $classNameEdge
          )
        </span>
        :
          void</code><div class="description">
<span class="attribute">inherited</span><p class="short_description">This method acts as setter for the CSS class name of the edge shapes.</p>
<small>Inherited from:
                    <a href="db_src_Utils_Graphics2D_DrawingPanes_DomDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDomDrawingPane::setClassNameEdge()">\Utils\Graphics2D\DrawingPanes\DomDrawingPane::setClassNameEdge()</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$classNameEdge</th>
<td>string</td>
<td><em><p>the new name of the CSS class for edge shapes return void</p></em></td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::setClassNameNode()" class="anchor"></a><div class="method public inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">setClassNameNode</span><span class="nb-faded-text">(
          string $classNameNode
          )
        </span>
        :
          void</code><div class="description">
<span class="attribute">inherited</span><p class="short_description">This method acts as setter for the CSS class name of the node shapes.</p>
<small>Inherited from:
                    <a href="db_src_Utils_Graphics2D_DrawingPanes_DomDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDomDrawingPane::setClassNameNode()">\Utils\Graphics2D\DrawingPanes\DomDrawingPane::setClassNameNode()</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$classNameNode</th>
<td>string</td>
<td><em><p>the new name of the CSS class for node shapes return void</p></em></td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::setFillColor()" class="anchor"></a><div class="method public inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">setFillColor</span><span class="nb-faded-text">(
          <a href="db_src_Utils_Color_Color.html#%5CUtils%5CColor%5CColor">\Utils\Color\Color</a> $fillColor
          )
        </span>
        :
          <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane">\Utils\Graphics2D\DrawingPanes\DrawingPane</a></code><div class="description">
<span class="attribute">inherited</span><p class="short_description">This method sets the fill color.</p>
<small>Inherited from:
                    <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::setFillColor()">\Utils\Graphics2D\DrawingPanes\DrawingPane::setFillColor()</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$fillColor</th>
<td><a href="db_src_Utils_Color_Color.html#%5CUtils%5CColor%5CColor">\Utils\Color\Color</a></td>
<td><em><p>the new fill color</p></em></td>
</tr>
</table>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td><a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane">\Utils\Graphics2D\DrawingPanes\DrawingPane</a></td>
<td>$this</td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::setFontColor()" class="anchor"></a><div class="method public inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">setFontColor</span><span class="nb-faded-text">(
          <a href="db_src_Utils_Color_Color.html#%5CUtils%5CColor%5CColor">\Utils\Color\Color</a> $fontColor
          )
        </span>
        :
          <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane">\Utils\Graphics2D\DrawingPanes\DrawingPane</a></code><div class="description">
<span class="attribute">inherited</span><p class="short_description">This method sets the font color.</p>
<small>Inherited from:
                    <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::setFontColor()">\Utils\Graphics2D\DrawingPanes\DrawingPane::setFontColor()</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$fontColor</th>
<td><a href="db_src_Utils_Color_Color.html#%5CUtils%5CColor%5CColor">\Utils\Color\Color</a></td>
<td><em><p>the new font color</p></em></td>
</tr>
</table>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td><a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane">\Utils\Graphics2D\DrawingPanes\DrawingPane</a></td>
<td>$this</td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::setFontFamily()" class="anchor"></a><div class="method public inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">setFontFamily</span><span class="nb-faded-text">(
          string $fontFamily
          )
        </span>
        :
          <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane">\Utils\Graphics2D\DrawingPanes\DrawingPane</a></code><div class="description">
<span class="attribute">inherited</span><p class="short_description">This method sets the font familiy.</p>
<small>Inherited from:
                    <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::setFontFamily()">\Utils\Graphics2D\DrawingPanes\DrawingPane::setFontFamily()</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$fontFamily</th>
<td>string</td>
<td><em><p>the name of the new font family</p></em></td>
</tr>
</table>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td><a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane">\Utils\Graphics2D\DrawingPanes\DrawingPane</a></td>
<td>$this</td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::setFontSize()" class="anchor"></a><div class="method public inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">setFontSize</span><span class="nb-faded-text">(
          int $fontSize
          )
        </span>
        :
          <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane">\Utils\Graphics2D\DrawingPanes\DrawingPane</a></code><div class="description">
<span class="attribute">inherited</span><p class="short_description">This method sets the font size.</p>
<small>Inherited from:
                    <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::setFontSize()">\Utils\Graphics2D\DrawingPanes\DrawingPane::setFontSize()</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$fontSize</th>
<td>int</td>
<td><em><p>the new font size in pixel</p></em></td>
</tr>
</table>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td><a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane">\Utils\Graphics2D\DrawingPanes\DrawingPane</a></td>
<td>$this</td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::setStrokeColor()" class="anchor"></a><div class="method public inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">setStrokeColor</span><span class="nb-faded-text">(
          <a href="db_src_Utils_Color_Color.html#%5CUtils%5CColor%5CColor">\Utils\Color\Color</a> $strokeColor
          )
        </span>
        :
          <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane">\Utils\Graphics2D\DrawingPanes\DrawingPane</a></code><div class="description">
<span class="attribute">inherited</span><p class="short_description">This method sets the stroke color.</p>
<small>Inherited from:
                    <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::setStrokeColor()">\Utils\Graphics2D\DrawingPanes\DrawingPane::setStrokeColor()</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$strokeColor</th>
<td><a href="db_src_Utils_Color_Color.html#%5CUtils%5CColor%5CColor">\Utils\Color\Color</a></td>
<td><em><p>the new stroke color</p></em></td>
</tr>
</table>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td><a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane">\Utils\Graphics2D\DrawingPanes\DrawingPane</a></td>
<td>$this</td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::setStrokeWidth()" class="anchor"></a><div class="method public inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">setStrokeWidth</span><span class="nb-faded-text">(
          int $strokeWidth
          )
        </span>
        :
          <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane">\Utils\Graphics2D\DrawingPanes\DrawingPane</a></code><div class="description">
<span class="attribute">inherited</span><p class="short_description">This method sets the stroke width.</p>
<small>Inherited from:
                    <a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane::setStrokeWidth()">\Utils\Graphics2D\DrawingPanes\DrawingPane::setStrokeWidth()</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$strokeWidth</th>
<td>int</td>
<td><em><p>the new stroke width</p></em></td>
</tr>
</table>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td><a href="db_src_Utils_Graphics2D_DrawingPanes_DrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDrawingPane">\Utils\Graphics2D\DrawingPanes\DrawingPane</a></td>
<td>$this</td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
<a id="\Utils\Graphics2D\DrawingPanes\HtmlDrawingPane::toDOMColor()" class="anchor"></a><div class="method public inherited_from ">
<a href="#" class="gripper"><img src="images/icons/arrow_right.png"><img src="images/icons/arrow_down.png" style="display: none;"></a><code><img src="images/icons/method.png" alt="method"><img src="images/icons/visibility_public.png" style="margin-right: 5px" alt="public"><span class="highlight">toDOMColor</span><span class="nb-faded-text">(
          \Utils\Graphics2D\DrawingPanes\RGBColor $color
          )
        </span>
        :
          string</code><div class="description">
<span class="attribute">inherited</span><p class="short_description">This method converts a RGBColor to the DOM representation of the color.</p>
<small>Inherited from:
                    <a href="db_src_Utils_Graphics2D_DrawingPanes_DomDrawingPane.html#%5CUtils%5CGraphics2D%5CDrawingPanes%5CDomDrawingPane::toDOMColor()">\Utils\Graphics2D\DrawingPanes\DomDrawingPane::toDOMColor()</a></small>
</div>
<div class="code-tabs">
<div class="long-description">
</div>
<strong>Parameters</strong><table class="argument-info">
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<th>$color</th>
<td>\Utils\Graphics2D\DrawingPanes\RGBColor</td>
<td><em><p>the color to convert</p></em></td>
</tr>
</table>
<strong>Returns</strong><table class="argument-info">
<thead><tr>
<th>Type</th>
<th>Description</th>
</tr></thead>
<tr>
<td>string</td>
<td>the DOM representation of the color</td>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
<small xmlns="" class="footer">Documentation was generated by <a href="http://docblox-project.org">DocBlox 0.15.1</a>.
    </small></body></html>
